package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/Maintenance.class */
public class Maintenance implements Serializable {
    private static final long serialVersionUID = 208631698603937913L;
    @ApiModelProperty("${column.comment}")
    private Integer id;
    @ApiModelProperty("维修时间")
    private String createTime;
    @ApiModelProperty("维修地点")
    private String address;
    @ApiModelProperty("维修内容")
    private String content;
    @ApiModelProperty("维修使用耗材")
    private String consumables;
    @ApiModelProperty("故障申请表id")
    private Integer repairId;
    @ApiModelProperty("接单人员id")
    private String orderUserName;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setConsumables(String consumables) {
        this.consumables = consumables;
    }

    public void setRepairId(Integer repairId) {
        this.repairId = repairId;
    }

    public void setOrderUserName(String orderUserName) {
        this.orderUserName = orderUserName;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Maintenance)) {
            return false;
        }
        Maintenance other = (Maintenance) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$address = getAddress();
        Object other$address = other.getAddress();
        if (this$address == null) {
            if (other$address != null) {
                return false;
            }
        } else if (!this$address.equals(other$address)) {
            return false;
        }
        Object this$content = getContent();
        Object other$content = other.getContent();
        if (this$content == null) {
            if (other$content != null) {
                return false;
            }
        } else if (!this$content.equals(other$content)) {
            return false;
        }
        Object this$consumables = getConsumables();
        Object other$consumables = other.getConsumables();
        if (this$consumables == null) {
            if (other$consumables != null) {
                return false;
            }
        } else if (!this$consumables.equals(other$consumables)) {
            return false;
        }
        Object this$repairId = getRepairId();
        Object other$repairId = other.getRepairId();
        if (this$repairId == null) {
            if (other$repairId != null) {
                return false;
            }
        } else if (!this$repairId.equals(other$repairId)) {
            return false;
        }
        Object this$orderUserName = getOrderUserName();
        Object other$orderUserName = other.getOrderUserName();
        return this$orderUserName == null ? other$orderUserName == null : this$orderUserName.equals(other$orderUserName);
    }

    protected boolean canEqual(Object other) {
        return other instanceof Maintenance;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $createTime = getCreateTime();
        int result2 = (result * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $address = getAddress();
        int result3 = (result2 * 59) + ($address == null ? 43 : $address.hashCode());
        Object $content = getContent();
        int result4 = (result3 * 59) + ($content == null ? 43 : $content.hashCode());
        Object $consumables = getConsumables();
        int result5 = (result4 * 59) + ($consumables == null ? 43 : $consumables.hashCode());
        Object $repairId = getRepairId();
        int result6 = (result5 * 59) + ($repairId == null ? 43 : $repairId.hashCode());
        Object $orderUserName = getOrderUserName();
        return (result6 * 59) + ($orderUserName == null ? 43 : $orderUserName.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "Maintenance(id=" + getId() + ", createTime=" + getCreateTime() + ", address=" + getAddress() + ", content=" + getContent() + ", consumables=" + getConsumables() + ", repairId=" + getRepairId() + ", orderUserName=" + getOrderUserName() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public String getAddress() {
        return this.address;
    }

    public String getContent() {
        return this.content;
    }

    public String getConsumables() {
        return this.consumables;
    }

    public Integer getRepairId() {
        return this.repairId;
    }

    public String getOrderUserName() {
        return this.orderUserName;
    }
}